/*
 * game.h
 *
 *  Created on: 05-12-2010
 *      Author: marseel
 */

#ifndef GAME_H_
#define GAME_H_

#include "../allegro/allegroengine.h"

#include "judge.h"
#include "test.h"
#include "configuration.h"
#include "manager.h"
#include "editor.h"
#include "generator.h"
#include "map.h"
#include "functions.h"

#include <iostream>
#include <string>
#include <sstream>
#include <fstream>

using namespace std;

class game {
public:
	game();
	virtual ~game();
	void init();
	void play();
	void run();
	void menu();
	void simulation();//TODO
private:
	judge sedzia;
	test tester;
	configuration conf;
	manager mana;
	editor edi;
	generator gen;
	map mapa;
	vector<map> screens;
	allegroengine allegro;

	int engine;
	int confs;
	int maps;
	bool configured;
};

#endif /* GAME_H_ */
